package com.skt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skt.domain.DTO.MerchantCostumeQueryDTO;
import com.skt.domain.DTO.request.MerchantCostumeCreateRequest;
import com.skt.domain.DTO.request.MerchantCostumeUpdateRequest;
import com.skt.domain.PO.Costume;
import com.skt.domain.VO.MerchantCostumeCreateResultVO;
import com.skt.domain.VO.MerchantCostumeUpdateResultVO;
import com.skt.domain.VO.MerchantCostumeVO;

import javax.validation.Valid;
import java.util.List;

public interface MerchantCostumesService extends IService<Costume> {

    /**
     * 商家发布商品
     * @param createRequest
     * @return
     */
    MerchantCostumeCreateResultVO createCostume(@Valid MerchantCostumeCreateRequest createRequest);


    /**
     * 商家编辑商品
     * @param id
     * @param updateRequest
     * @return
     */
    MerchantCostumeUpdateResultVO updateCostume(Long id, @Valid MerchantCostumeUpdateRequest updateRequest);


    /**
     * 商家商品列表查询
     * @param queryDTO@return
     */
    List<MerchantCostumeVO> listCostumes(MerchantCostumeQueryDTO queryDTO);
}
